public class TestMain {
    public static void main(String[] args) {

        Solution solution = new Solution();

        int[][] h = solution.generateMatrix(5);
        for (int i = 0; i < 5; i++) {
            for (int j = 0; j < 5; j++) {
                System.out.print(h[i][j] + " ");
            }
            System.out.println();
        }

        System.out.println("------------");

        h = solution.generateMatrix(6);
        for (int i = 0; i < 6; i++) {
            for (int j = 0; j < 6; j++) {
                System.out.print(h[i][j] + " ");
            }
            System.out.println();
        }



    }
}
